package com.itheima.order.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_order")
public class Order {
    @TableId
    private Long orderId;
    private Double payment;
    @TableField("payment_type")
    private String paymentType;
    private String status;
    @TableField("create_time")
    private Date createTime;
    @TableField("update_time")
    private Date updateTime;
    @TableField("payment_time")
    private Date paymentTime;
    @TableField("user_id")
    private String userId;
    @TableField("receiver_area_name")
    private String receiverAreaName;
    @TableField("receiver_mobile")
    private String receiverMobile;
    private String receiver;
    @TableField("good_id")
    private Long goodId;
    @TableField("pic_path")
    private String picPath;

}
